// index.ts
// 获取应用实例
const app = getApp<IAppOption>()


Component({
  data: {
    storeList: [
      {
        id: 1,
        titlepic: "/assets/home/1.png",
        title: "曼格纳·曼芯馆【宝山宾馆店"
      },
      {
        id: 2,
        titlepic: "/assets/home/2.png",
        title: "曼格纳·曼芯馆【宝山宾馆店"
      },
      {
        id: 3,
        titlepic: "/assets/home/3.png",
        title: "曼格纳·曼芯馆【宝山宾馆店"
      },
      {
        id: 4,
        titlepic: "/assets/home/4.png",
        title: "曼格纳·曼芯馆【宝山宾馆店"
      },
      {
        id: 5,
        titlepic: "/assets/home/5.png",
        title: "曼格纳·曼芯馆【宝山宾馆店"
      },
      {
        id: 6,
        titlepic: "/assets/home/6.png",
        title: "曼格纳·曼芯馆【宝山宾馆店"
      },
    ]
  },
  methods: {
    toPackagePage(e: any) {
      let id = e.currentTarget.dataset.id;
      wx.navigateTo({
        url: "/pages/mall/index?id=" + id
      })

    }
  }
})
